﻿using System.Collections.Generic;

namespace DesignerTables
{
    public class MapInfo
    {
        public static Dictionary<string, GridInfo> MapType = new Dictionary<string, GridInfo>(){
            // 草原
            { "Grassland", new GridInfo("BaseMap",new []
            {
                new MovementInfoModel(MoveType.Walk,1),
                new MovementInfoModel(MoveType.Fly,1),
                new MovementInfoModel(MoveType.Pirate,1),
            })},
            // 树林
            { "Wood", new GridInfo("BaseMap",new []
            {
                new MovementInfoModel(MoveType.Walk,1),
                new MovementInfoModel(MoveType.Fly,1),
                new MovementInfoModel(MoveType.Pirate,1),
            })},
            // 沼泽
            { "Marsh", new GridInfo("BaseMap",new []
            {
                new MovementInfoModel(MoveType.Walk,1),
                new MovementInfoModel(MoveType.Fly,1),
                new MovementInfoModel(MoveType.Pirate,1),
            })},
            // 小山坡
            { "Brae", new GridInfo("BaseMap",new []
            {
                new MovementInfoModel(MoveType.Walk,2),
                new MovementInfoModel(MoveType.Fly,1),
                new MovementInfoModel(MoveType.Pirate,2),
            })},
            // 山岭
            { "ridge", new GridInfo("BaseMap",new []
            {
                new MovementInfoModel(MoveType.Fly,1),
            })},
            // 空白
            { "Null", new GridInfo("BaseMap",null)},
        }; 
        
        public static Dictionary<string, MapInfoModel> data = new Dictionary<string, MapInfoModel>(){
            // 测试关卡
            { "Test", new MapInfoModel(new [,]
            {
                {"Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland"},
                {"Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland"},
                {"Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland"},
                {"Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland"},
                {"Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland"},
                {"Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland"},
                {"Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland"},
                {"Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland"},
                {"Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland"},
                {"Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland"},
                {"Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland"},
                {"Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland"},
                {"Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland"},
                {"Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland"},
                {"Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland","Grassland"},
            })},
        }; 
    }
}